/**
 * 货主的相关接口
 */
import request from '@/common/js/api.js'
import DonMessage from '@/common/js/formMessage' // 引入消息拦截

const myMessage = new DonMessage()





// 指标分组(创建)
export const indicatorGroupCreate = data => {
  return request.request({
    url: '/ly-jx-servicer/indicator/group/create',
    method: 'post',
    data
  })
}


// 指标分组(删除)
export const indicatorGroupDelete = data => {
  return request.request({
    url: '/ly-jx-servicer/indicator/group/delete?code='+data,
    method: 'post',
  })
}


// 指标分组(分页)
export const indicatorGroupPage = data => {
  return request.request({
    url: '/ly-jx-servicer/indicator/group/page',
    method: 'post',
    data
  })
}




// 指标分组(下拉框)(权限)
export const indicatorGroupList = data => {
  return request.request({
    url: '/ly-jx-servicer/indicator/group/authority/list',
    method: 'post',
    data
  })
}



